import Mock from 'mockjs'

Mock.mock('/api/blog/home/list', 'post', {
  code: 0,
  msg: '',
  data: [
    {
      maintitle: '前端',
      subhead: 'mock',
      id: 11222333666554447,
      total: 65,
      'acticle|100-160': [
        {
          maintitle: '前端',
          subhead: 'mock',
          title: '@csentence(40)',
          id: '@word(12,16)',
          description: '@csentence(40)',
          author: '@cname',
          like: '@natural(0,1235)',
          dislike: '@integer(0,500)',
          date: '2021-10-24 13:12:59',
          update: '@integer(0,1000)',
          discuss: '@integer(0,1000)',
          pageview: '@integer(0,1000)',
          imgurl: 'https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/de0c79b4487447b3adccef19fc57d522~tplv-k3u1fbpfcp-no-mark:240:240:240:160.awebp?'
        }
      ]
    }
  ]
})
